//
//  HBKlineView.m
//  FindClass
//
//  Created by tianlong on 2024/12/12.
//

#import "HBKlineView.h"
#import "ViewControllerB.h"

@interface HBKlineView ()

@property (nonatomic, assign) BOOL loadedVC;

@end

@implementation HBKlineView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
    }
    return self;
}

- (void)layoutSubviews {
    [super layoutSubviews];
    
    if (!self.loadedVC) {
        ViewControllerB *vc = [[ViewControllerB alloc] init];
        [self addSubview:vc.view];
        vc.view.frame = CGRectMake(0, 0, self.frame.size.width, self.frame.size.height);
        self.loadedVC = YES;
    }
}

@end
